package cn.lingyangwl.agile.system.model.rqrs.user;

import cn.lingyangwl.agile.model.constants.ValidationCons;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 重置密码请求, 重置任意一个用户密码
 * @author shenguangyang
 */
@Getter
@Setter
@ToString
public class UserResetPwdReq {
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private Long id;

    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String password;

    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String confirmPassword;
}
